﻿using System;
using System.Runtime.Serialization;
using Informant.Contacts;
using Informant.SmsMessaging;

namespace Informant.Google.Voice.SmsMessaging
{
	[DataContract]
	public class Message : IMessage
	{
		/// <summary>
		/// Gets or sets the number.
		/// </summary>
		/// <value>The number.</value>
		[DataMember]
		public IPhone Sender { get; set; }
		/// <summary>
		/// Gets or sets the text.
		/// </summary>
		/// <value>The text.</value>
		[DataMember]
		public String Text { get; set; }
	}
}
